package model

type UserInfo struct {
	Id       int64  `xorm:"pk autoincr BIGINT(20)"`
	Username string `xorm:"not null default '0' unique(uk_user_name) varchar(64)"`
	Nickname string `xorm:"not null varchar(64)"`
	Password string `xorm:"not null varchar(64)"`
	Profile  string `xorm:"varchar(128)"`
}

// TableName returns the table name of the user_info_tab model
// https://www.kancloud.cn/xormplus/xorm/167086
func (u *UserInfo) TableName() string {
	return "user_info_tab"
}
